﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="SettingSlidebarDetail.aspx.cs" Inherits="TamTreSoSinh.Admin.SettingSlidebarDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <b>Slidebar</b>
    <form runat="server">
    <table style="width:100%">
        <tr>
            <td>
                Thứ tự
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtPriority" />
                <asp:RangeValidator ID="RangeValidator1" runat="server" 
                    ControlToValidate="txtPriority" ErrorMessage="Số thứ tự không hợp lệ" 
                    ForeColor="#CC0000" MaximumValue="10000" MinimumValue="1" Type="Integer"></asp:RangeValidator>
            </td>
        </tr>
        <tr>
            <td>
                Tiêu đề
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtTitle" Width="403px" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtTitle" ErrorMessage="Chưa nhập tiêu đề" 
                    ForeColor="#CC0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td valign="top">
                Nội dung
            </td>
            <td>
                <asp:TextBox ID="txtContent" runat="server" Height="200px" TextMode="MultiLine"
                Width="100%" CssClass="ckeditor"></asp:TextBox>
                <br />
            </td>
        </tr>
        <tr>
            <td>
                Nội dung căn lề
            </td>
            <td>
                <asp:DropDownList runat="server" ID="ddlContentAlign" >
                    <asp:ListItem Value="left">Trái</asp:ListItem>
                    <asp:ListItem Value="right">Phải</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td valign="top">
                Ảnh
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtImage" Width="393px" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtImage" ErrorMessage="Chưa nhập link ảnh" 
                    ForeColor="#CC0000"></asp:RequiredFieldValidator>
                <br />
                Kích thước: 930 x 430</td>
        </tr>
        <tr>
            <td>
                Ảnh căn lề
            </td>
            <td>
                <asp:DropDownList runat="server" ID="ddlImageAlign" >
                    <asp:ListItem Value="left">Trái</asp:ListItem>
                    <asp:ListItem Value="right">Phải</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button runat="server" ID="btnSave" Text="Save" onclick="btnSave_Click" />
            </td>
            <td>
                
            </td>
        </tr>
    </table>
    </form>
    <script type="text/javascript" src="/Admin/CKEditor/ckeditor.js"></script>
</asp:Content>
